<?php include(APPPATH.'views/admin/common/header.php'); ?>
<div class="row-fluid sortable ui-sortable">		
				<div class="box span12" style="">
					
					<div class="box-content">
						<div id="DataTables_Table_0_wrapper" class="dataTables_wrapper" role="grid"><table class="table table-striped table-bordered bootstrap-datatable datatable dataTable" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
						  <thead>
							  <tr role="row"><th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 100px;" aria-sort="ascending" aria-label="Username: activate to sort column descending">支付宝账号</th>
							    <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" style="width: 100px;" aria-label="Date registered: activate to sort column ascending">邮箱</th>
						      <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 183px;" aria-label="Date registered: activate to sort column ascending">地址</th>
						      <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 87px;" aria-label="Role: activate to sort column ascending">手机</th>
						      <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" style="width: 102px;" aria-label="Status: activate to sort column ascending"><span class="sorting" style="width: 102px;">姓名</span></th>
						      <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 102px;" aria-label="Status: activate to sort column ascending">电话</th>
						      <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 348px;" aria-label="Actions: activate to sort column ascending">操作</th></tr>
						  </thead>   
						  
					  <tbody role="alert" aria-live="polite" aria-relevant="all">
                      <?php $class_id=0; ?>
                      <?php foreach($data as $item): ?>
                      <?php  if($class_id == 0): ?>
                      <tr class="odd">
								<td class="  sorting_1"><?=$item->buyer_alipay_no?></td>
						<td class="center "><?=$item->buyer_email?></td>
								<td class="center "><?=$item->receiver_address?></td>
								<td class="center "><?=$item->receiver_mobile?></td>
						<td class="center "><?=$item->receiver_name?></td>
								<td class="center ">
									<span class="label label-important"><?=$item->receiver_phone?></span>
								</td>
                                
                                
								<td class="center ">
									
									<a class="btn btn-info" href="#">
										<i class="icon-edit icon-white"></i>  
										Edit                                            
									</a>
									<a class="btn btn-danger" href="#">
										<i class="icon-trash icon-white"></i> 
										Delete
									</a>
								</td>
						</tr>
                          <?php $class_id = 1; ?>
                          <?php else: ?>
                            
                      <tr class="even">
								<td class="  sorting_1"><?=$item->buyer_alipay_no?></td>
								<td class="center "><?=$item->buyer_email?></td>
								<td class="center "><?=$item->receiver_address?></td>
								<td class="center "><?=$item->receiver_mobile?></td>
								<td class="center "><?=$item->receiver_name?></td>
								<td class="center ">
									<span class="label label-important"><?=$item->receiver_phone?></span>
								</td>
								<td class="center ">
								
									<a class="btn btn-info" href="#">
										<i class="icon-edit icon-white"></i>  
										Edit                                            
									</a>
									<a class="btn btn-danger" href="#">
										<i class="icon-trash icon-white"></i> 
										Delete
									</a>
								</td>
							</tr>
                            <?php $class_id = 0; ?>
                            <?php endif;?>
                           <?php endforeach;?>
								</tbody></table></div>            
					</div>
  </div><!--/span-->
			
</div>
<?php include(APPPATH.'views/admin/common/footer.php'); ?>